﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace comix
{
    public partial class editprofile : System.Web.UI.Page
    {
        LCustomer customer;

        protected void Page_Load(object sender, EventArgs e)
        {
            customer = (LCustomer)Session["customer"];
            tb_pwd.Text = "";
            
                tb_address.Text = customer.address.Odos;
                tb_city.Text = customer.address.City;
                tb_firstname.Text = customer.firstname;
                tb_lastname.Text = customer.lastname;
                tb_mail.Text = customer.username;
                tb_phone.Text = customer.address.Phone;
                tb_tk.Text = customer.address.TK;
                chb_news.Checked = customer.newsletters;
                DropDownList1.SelectedValue = customer.address.CountryId.ToString();
            
        }

  
    }
}
